package yf.mall.service;

import yf.mall.entity.LiveEntity;
import yf.mall.vo.LiveVo;
import com.yf.service.BaseService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 直播Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Sep 10 11:00:34 CST 2020
 */
public interface LiveService extends BaseService<LiveEntity> {

    /************自动生成**************/
    List<LiveVo> findVo(LiveVo vo);

        LiveVo getVo(Long id);

     int updateVo(LiveVo vo);

       int saveVo(LiveVo vo);

    void downLoad(HttpServletResponse response, List<LiveVo> list);

    /***********BACK***********/
    List<Long> findByLiveId(Long liveId);

    void deleteByLiveId(Long[]ids);

    /***********API***********/
    List<LiveEntity> getList();

    List<Long> findByGoodsId(Long goodsId);

}
